<?php 
$xhtml = $this->render ( 'index.php' );
if (count ( $this->arrDir ) > 0) {
	foreach ( $this->arrDir as $key => $val ) {
		// echo '<br>' . $key . ': ' . $val;
		if ($key == 'css') {
			$xhtml = str_replace ( 'href="css', 'href="' . $val, $xhtml );
		} else {
			$xhtml = str_replace ( 'src="' . $key, 'src="' . $val, $xhtml );
		}
	}
}
$moduleHelper = new Joomzf_Modules_Helper($xhtml,$this);
$xhtml = $moduleHelper->render();



echo $xhtml;

?>